aux_source_directory(. SRC_LISTS)
add_library(myrpc SHARED ${SRC_LISTS})

find_library(PROTOBUF_LIB protobuf PASTS /usr/local/lib)

if(PROTOBUF_LIB)
target_link_libraries(myrpc ${PROTOBUF_LIB} pthread)
endif()


